﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TuyennvLibrary.ServerApi.Sms;
using TuyennvLibrary.ServerApi.Models;
using System.Web;
using ServerApi.Sms.PartnerSmsProccess;

public static class PartnerSMSService
{
    public static object ProccessSMS( this PartnerSMS partner, MsgObject mo, MsgContent msg, HttpRequest request)
    {
        if (partner.class_proccess_script == "FPTAdapter")
        {
            FPTAdapter adapter = new FPTAdapter();
            adapter.proccess(mo, msg, request);
        }
        return new MeAdapter().proccess(mo, msg, request);
    }
}

